package com.ruoyi.labortary.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * labortary对象 algs_laboratory
 * 
 * @author ruoyi
 * @date 2023-03-15
 */
public class AlgsLaboratory extends BaseEntity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 实验室ID */
    private Long laboratoryId;

    /** 实验室名称 */
    @Excel(name = "实验室名称")
    private String laboratoryName;

    /** 位置 */
    @Excel(name = "位置")
    private String laboratoryAdd;

    /** 最大使用人数 */
    @Excel(name = "最大使用人数")
    private Long laboratoryMax;

    /** 状态ID（外键） */
    @Excel(name = "状态ID", readConverterExp = "外=键")
    private Long typeId;

    /** 使用老师ID（外键） */
    @Excel(name = "使用老师ID", readConverterExp = "外=键")
    private Long teacherId;

    /** 实验室创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实验室创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date laboratoryCreatTime;

    /** 备用列 */
    @Excel(name = "备用列")
    private Long laboratoryBy1;

    /** 备用列 */
    @Excel(name = "备用列")
    private String laboratoryBy2;

    /** 备用列 */
    @Excel(name = "备用列")
    private String laboratoryIdby3;

    public void setLaboratoryId(Long laboratoryId) 
    {
        this.laboratoryId = laboratoryId;
    }

    public Long getLaboratoryId() 
    {
        return laboratoryId;
    }
    public void setLaboratoryName(String laboratoryName) 
    {
        this.laboratoryName = laboratoryName;
    }

    public String getLaboratoryName() 
    {
        return laboratoryName;
    }
    public void setLaboratoryAdd(String laboratoryAdd) 
    {
        this.laboratoryAdd = laboratoryAdd;
    }

    public String getLaboratoryAdd() 
    {
        return laboratoryAdd;
    }
    public void setLaboratoryMax(Long laboratoryMax) 
    {
        this.laboratoryMax = laboratoryMax;
    }

    public Long getLaboratoryMax() 
    {
        return laboratoryMax;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setLaboratoryCreatTime(Date laboratoryCreatTime) 
    {
        this.laboratoryCreatTime = laboratoryCreatTime;
    }

    public Date getLaboratoryCreatTime() 
    {
        return laboratoryCreatTime;
    }
    public void setLaboratoryBy1(Long laboratoryBy1) 
    {
        this.laboratoryBy1 = laboratoryBy1;
    }

    public Long getLaboratoryBy1() 
    {
        return laboratoryBy1;
    }
    public void setLaboratoryBy2(String laboratoryBy2) 
    {
        this.laboratoryBy2 = laboratoryBy2;
    }

    public String getLaboratoryBy2() 
    {
        return laboratoryBy2;
    }
    public void setLaboratoryIdby3(String laboratoryIdby3) 
    {
        this.laboratoryIdby3 = laboratoryIdby3;
    }

    public String getLaboratoryIdby3() 
    {
        return laboratoryIdby3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("laboratoryId", getLaboratoryId())
            .append("laboratoryName", getLaboratoryName())
            .append("laboratoryAdd", getLaboratoryAdd())
            .append("laboratoryMax", getLaboratoryMax())
            .append("typeId", getTypeId())
            .append("teacherId", getTeacherId())
            .append("laboratoryCreatTime", getLaboratoryCreatTime())
            .append("laboratoryBy1", getLaboratoryBy1())
            .append("laboratoryBy2", getLaboratoryBy2())
            .append("laboratoryIdby3", getLaboratoryIdby3())
            .toString();
    }
}
